package com.yunxi.dao.sat;

import com.yunxi.core.dao.BaseMapperPlus;
import com.yunxi.model.sat.SatCustomerFollow;
import com.yunxi.sat.pojo.*;

import java.util.List;

/**
 * <p>
 * 客户跟进记录表 Mapper 接口
 * </p>
 *
 * @author caoYong
 * @since 2019-07-11
 */
public interface SatCustomerFollowMapper extends BaseMapperPlus<SatCustomerFollow> {

    SatCustomerClueVO getCustomerClueInfo(SatCustomerFollow satCustomerFollow);

    void updateCustomerLevel(SatCustomerFollowVO satCustomerFollowVO);

    String getCustomerLevelByNo(SatCustomerFollowVO satCustomerFollowVO);

    List<SatCustomerFollowVO> waitFollow(SatCustomerFollowVO satCustomerFollowVO);

    List<SatCustomerFollowVO> lateFollow(SatCustomerFollowVO satCustomerFollowVO);

    List<SatCustomerFollowVO> goodCustomerFollow(SatCustomerFollowVO satCustomerFollowVO);

    FollowRemindVO followRemind(FollowRemindVO followRemindVO);

    FollowRemindVO manageFollowRemind(FollowRemindVO followRemindVO);

    List<SatCustomerFollowVO> getFollowsByNo(SatCustomerFollowVO satCustomerFollowVO);

    String queryDictCn(SatCustomerFollowDictVO satCustomerFollowDictVO);

    List<SatCustomerFollowCountVO> getWaitFollowCount(SatCustomerFollowCountVO satCustomerFollowCountVO);
}
